Prune has worked fine on bare repositories for some time, but now that
I finally try to delete data on the server side, I notice we weren't
actually enumerating content objects =/
That caused them to not be pruned.
https://bugzilla.gnome.org/show_bug.cgi?id=733458
if (!dot)
continue;
- if (strcmp (dot, ".file") == 0)
+ if ((self->mode == OSTREE_REPO_MODE_ARCHIVE_Z2
+ && strcmp (dot, ".filez") == 0) ||
+ (self->mode == OSTREE_REPO_MODE_BARE
+ && strcmp (dot, ".file") == 0))
objtype = OSTREE_OBJECT_TYPE_FILE;
else if (strcmp (dot, ".dirtree") == 0)
objtype = OSTREE_OBJECT_TYPE_DIR_TREE;